import std.stdio;

struct SS
{
    int i = 10;
    ~this(){
        writeln("free ss");
    }
}

class TCC
{
    void rest()
    {
        _s = SS();
        _s.i = 100;
    }
    
    void show()
    {
        writeln("SS _s = ", _s.i);
    }

private:
    SS _s;
}


void main()
{
    TCC c = new TCC();
    c.show();
    c.rest();
    c.show();
}
